<template>
  <div>
    <el-table :data="tableData" style="width: 100%" max-height="320">
      <el-table-column prop="date" label="命令" width="280px" />
      <el-table-column prop="source" label="信息源" width="280px" />
      <el-table-column prop="target" label="目标" width="280px" />
      <el-table-column prop="name" label="开始日期" width="280px" />
      <el-table-column prop="address" label="结束日期" />
    </el-table>
    <div class="pagination">
      <el-pagination background layout="prev, pager, next" :total="100" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
        {
          source: "信息源信息",
          target: "目标信息",
          date: "xxxxx",
          name: "xxxxx",
          address: "xxxxx",
        },
      ],
    };
  },
};
</script>
<style scoped>
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
</style>
